home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part III.srd / Part III.srd.rsrc / PICT_96.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  138KB  |  816x1056  |  8-bit (256 colors)
Labels: book | cabinet | reckoner | sky
OCR: 111-84 Mops Predefined Classes fValue is the analog Value for floating point numbers 211 fValue tua r float value with an initial lue print the value stuart stuart store new value and print stuart stuart incr rement the value and print class Float creates an ob ect with variety of computat ional methods Float fred creat float object 1.34 print: put: fred fred print: fred print its va value Lue and print change fred print: fred incr ement the value and print sin fred find the sine; doesn change fred's va lue Class fArray crea tes floating point array: fArray harold element float to : harold set ls ement t c 3. to harold set 2nd ement E C print harold print al] element of harold at: harold print 2nd element of harold You can define floating point local variable by preceding the name with ope ...